package com.blrs.domain;

import java.util.Date;
import java.util.List;

import com.blrs.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("流程阶段")
public class ProcessStage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("关联模板ID")
    private String templateId;

    @ApiModelProperty("阶段ID")
    private String stageId;

    @ApiModelProperty("阶段名称")
    private String stageName;

    private Double positionX;

    private Double positionY;

    @ApiModelProperty("阶段顺序")
    private Integer stageOrder;

    @ApiModelProperty("下一阶段ID")
    private String nextStageIds;

    @ApiModelProperty("创建人ID")
    private Long creationId;

    @ApiModelProperty("创建人名称")
    private String creationName;

    @ApiModelProperty("创建时间")
    private Date creationTime;

    @ApiModelProperty("更新人ID")
    private Long updateId;

    @ApiModelProperty("更新人名称")
    private String updateName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    private List<StageAchievement> achievements;


    public List<StageAchievement> getAchievements() {
        return achievements;
    }

    public void setAchievements(List<StageAchievement> achievements) {
        this.achievements = achievements;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStageId() {
        return stageId;
    }

    public void setStageId(String stageId) {
        this.stageId = stageId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public Double getPositionX() {
        return positionX;
    }

    public void setPositionX(Double positionX) {
        this.positionX = positionX;
    }

    public Double getPositionY() {
        return positionY;
    }

    public void setPositionY(Double positionY) {
        this.positionY = positionY;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public Integer getStageOrder() {
        return stageOrder;
    }

    public void setStageOrder(Integer stageOrder) {
        this.stageOrder = stageOrder;
    }

    public String getNextStageIds() {
        return nextStageIds;
    }

    public void setNextStageIds(String nextStageIds) {
        this.nextStageIds = nextStageIds;
    }

    public Long getCreationId() {
        return creationId;
    }

    public void setCreationId(Long creationId) {
        this.creationId = creationId;
    }

    public String getCreationName() {
        return creationName;
    }

    public void setCreationName(String creationName) {
        this.creationName = creationName;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}